package com.epam.kozich.dao;

import org.springframework.orm.hibernate3.support.HibernateDaoSupport;

import com.epam.kozich.model.Person;

public class PersonDAOImpl extends HibernateDaoSupport implements PersonDAO {

	@Override
	public void addPerson(Person person){
		getHibernateTemplate().save(person);
	}
	public void updatePerson(Person person){
		getHibernateTemplate().update(person);
	}
	@Override
	public void deletePerson(Person person){
		getHibernateTemplate().delete(person);

	}
	@Override
	public void outputPerson() {
		
		
	}

}
